<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:import href="../utilities/get-admin-clients.xsl"/>
<xsl:import href="../utilities/get-admin-time-schedule.xsl"/>
<xsl:import href="../utilities/get-admin-print-schedule.xsl"/>

<xsl:template name="admin-menu">
	<dl id="admin_menu">
		<dt>Administration</dt>
		<dd>
			<ins><a href="{$root}/admin-clients/new">Create New Client</a></ins>
			<label>
				<ins>Edit Client Profile</ins>
				<xsl:apply-templates select="admin-clients" mode="admin-clients-list"/>
			</label>
		</dd>
		<dd>
			<ins><a href="{$root}/admin-archives/">Manage Client Payments</a></ins>
		</dd>
		<dd>
			<ins><a href="{$root}/admin-vacations-holidays/">Manage Closure Dates</a></ins>
		</dd>
		<!--dd>
			<label>
				<ins>Edit Time Schedule</ins>
				<xsl:apply-templates select="time-schedule" mode="schedule-list"/>
			</label>
		</dd-->
		<dd>
			<label>
				<ins>Print Schedule</ins>
				<xsl:call-template name="select-print"/>
			</label>
		</dd>
		<!--dd><em>Print
			<select>
				<option>Today's</option>
				<option>Tomorrow's</option>
			</select>
			Schedule</em>: Print a schedule of appointments for the day.
		</dd-->
		<!--xsl:choose>
			<xsl:when test="/data/future-client-appointments-short/error = 'No records found.'">
				<dd><em>No Appointments Yet</em></dd>
				<dd>Making an appointment is easy! Click the day of the month for the appointment, then select a desired time.</dd>
			</xsl:when>
			<xsl:otherwise>
				<xsl:for-each select="/data/future-client-appointments-short/entry[1]">
					<dd>
						<em>
							<img src="{$workspace}/css/img/icon_next_apt.png" alt="Your next appointment" title="Your next appointment" />
							<xsl:call-template name="get-formatted-date">
								<xsl:with-param name="date" select="appointment-date"/>
								<xsl:with-param name="format-type" select="'short'"/>
							</xsl:call-template>
							<xsl:text>, </xsl:text>
							<xsl:call-template name="get-formatted-time">
								<xsl:with-param name="time" select="appointment-date/@time"/>
							</xsl:call-template>
						</em>
					</dd>
				</xsl:for-each>
			</xsl:otherwise>
		</xsl:choose-->
	</dl>
</xsl:template>

</xsl:stylesheet>